import 'package:flutter/material.dart';
import 'package:ost_flutter_module/class/store/course_page/widgets/store_course_home_card.dart';
import 'package:ost_flutter_module/widget/custom_widget/custome_radius_container.dart';

import '../../adapt.dart';
import '../../styles.dart';

class DynamicCellShopInfo extends StatelessWidget {
  // final
  @override
  Widget build(BuildContext context) {
    return GContainer(
      child: Padding(
        padding: EdgeInsets.all(Adapt.px(10)),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.end,
          children: [
            CourseCardWidget(),
            Row(
              mainAxisAlignment: MainAxisAlignment.end,
              children: [
                Text('总价：', style: TextStyles.detailTitleStyle),
                Text('￥3500.00', style: TextStyles.detailTitleStyle),
                SizedBox(width: Adapt.px(8)),
                Text('优惠：', style: TextStyles.detailTitleStyle),
                Text('￥ 960.00', style: TextStyles.detailTitleStyle),
                SizedBox(width: Adapt.px(8)),
                Text('￥ 1800.00', style: TextStyles.priceTitleStyle),
              ],
            ),
          ],
        ),
      ),
    );
  }
}
